package com.book.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.book.dao.WrittingMapper;
import com.book.domain.Writting;

@Service
public class WrittingServiceImpl implements WrittingService{
	
	@Autowired
	private WrittingMapper writtingMapper;
/*
	@Override
	public void insertWrite(Write write) {		
		writeMapper.insertWrite(write);
	}

	@Override
	public List<Write> tagMatchingSelect(Write write) {		
		System.out.println("tag Service Author"+write.getbBookAuthor());
		System.out.println("tag Service Genre"+write.getbBookGenre());
		System.out.println("tag Service Title"+write.getbBookTitle());
		System.out.println("tag Service Emotion"+write.getbEmotion());
		System.out.println("tag Service Email1"+write.getmEmail1());
		
		return writeMapper.tagMatchingSelect(write);
	}*/

	@Override
	public List<Writting> allSelect_date() {
		// TODO Auto-generated method stub
		return writtingMapper.allSelect_date();
	}

	@Override
	public List<Writting> boardReply(Writting writting) {
		// TODO Auto-generated method stub
		return writtingMapper.boardReply(writting);
	}

	@Override
	public List<Writting> boardSympathy(Writting writting) {
		// TODO Auto-generated method stub
		return writtingMapper.boardSympathy(writting);
	}

	@Override
	public List<Writting> allSelect_best(Writting writting) {
		// TODO Auto-generated method stub
		return writtingMapper.allSelect_best(writting);
	}

	@Override
	public List<Writting> allSelect_sympathy() {
		// TODO Auto-generated method stub
		return writtingMapper.allSelect_sympathy();
	}

	@Override
	public List<Writting> allSelect_follow(Writting writting) {
		// TODO Auto-generated method stub
		return writtingMapper.allSelect_follow(writting);
	}
	
	
	
}
